package Integrity;

/*
 * NONE	  : No error
 * ERR101 : Invalid Credentials
 * ERR102 : Customer Not Signed up for e-Billing
 * ERR103 : Action Required by Billing Company's Website
 * ERR104 : Billing Company's Site Down
 * ERR105 : Billing Site Error Page Encountered
 * ERR106 : Broken Script (Site Changed)
 * ERR107 : Encountered Unhandled Data Condition
 * ERR107 : Account Activation process, Incorrect Account
 */
public class Scaper_APS_Errors_Checks {
	
	Scaper_APS_Errors_Checks(Xml_Extracted_Data xed){
		error_code = xed.get_scraped_error_code();
	}
	public Boolean XMLhas_ErrorCode(){
		if (error_code.substring(0,3).equals("ERR")) return true;
		return false;
	}
	
    private String error_code = "";

}
